<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.ambow.Entity.*"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Language" content="zh-CN" />
<meta name="Keywords" content="关键词1,关键词2，关键词3,关键词4,……" />
<meta name="Description" content="你网页的简述" />
<meta name="Robots" content="All" />
<meta name="Generator" content="Dreamweaver" />
<title>函授站领书――教材查询</title>
<link href="<%=path %>/static/css/css.css" rel="stylesheet" type="text/css" />
</head>

<body>
	<h3 id="subTitle">选择教材</h3>
	<table width="90%" border="0" align="center" cellpadding="0"
		cellspacing="0" class="table2">
		<form action="<%=path%>/DeliverToStationServlet?status=query" method="post" name="form2" id="form2">
			<tr>
				<td nowrap="nowrap">教材名称：<input name="bookname" type="text"
					class="input2" /> &nbsp;&nbsp;作者：<input name="author"
					type="text" class="input2" size="10" maxlength="10" />
					&nbsp;&nbsp;出版社：<input name="publish" type="text" class="input2" />
					<input name="Submit" type="submit" class="buttonInp" value="查 询" /></td>
			</tr>
		</form>
	</table>
	<table width="90%" border="0" align="center" cellpadding="0"
		cellspacing="0" class="table" style="margin-top: 10px;">
		<form action="pages/module/storage/storage001/station/station.jsp" method="post" name="form1" id="form1">
			<tr>
				<th width="10%" align="center" nowrap="nowrap" class="title2">选择</th>
				<th width="33%" align="center" nowrap="nowrap" class="title2">教材名称</th>
				<th width="12%" align="center" nowrap="nowrap" class="title2">版次</th>
				<th width="12%" align="center" nowrap="nowrap" class="title2">作者</th>
				<th width="31%" align="center" nowrap="nowrap" class="title2">出版社</th>
				<th width="14%" align="center" nowrap="nowrap" class="title2">单价</th>
			</tr>
			<%Stock stocks=(Stock)request.getAttribute("stocks"); 
	       if(stocks!=null){%>
	       	<tr class="within2bg">
				<td align="center"><input type="radio" name="radio"
					value="<%=stocks.getTextBook().getId()%>" /></td>
				<td align="center"><%=stocks.getTextBook().getName()%></td>
				<td align="center"><%=stocks.getTextBook().getRevision() %></td>
				<td align="center"><%=stocks.getTextBook().getAuthor() %></td>
				<td align="center"><%=stocks.getTextBook().getPublish() %></td>
				<td align="center"><%=stocks.getTextBook().getPrice() %></td>
			</tr>
			<% }
			else{%>
			<tr align="center" class="within2bg">
				<td colspan="8" class="no_note">没有符合条件的记录</td>
			</tr>
			<%} %>
			<tr align="center" class="within2bg">
				<td colspan="8" class="no_note"><input name="Input"
					type="submit" value="确定" /></td>
			</tr>
		</form>
	</table>
	<table width="90%" border="0" align="center" cellpadding="3"
		cellspacing="0" id="page">
		<tr>
			<td align="right">共有记录 2条 第 1/1页 <a href="#">首页</a> <a href="#">上一页</a>
				<a href="#">下一页</a> <a href="#">末页</a> 到 <input name="page"
				type="text" class="page_input" size="5" /> 页 <input name="Submit6"
				type="submit" class="bevel" value="GO" /></td>
		</tr>
	</table>
</body>
</html>